Optimal. Leaf size=34 \[ \frac{\tanh ^{-1}(\sin (a+b x))}{16 b}+\frac{\tan (a+b x) \sec (a+b x)}{16 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0413876, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {4288, 3768, 3770} \[ \frac{\tanh ^{-1}(\sin (a+b x))}{16 b}+\frac{\tan (a+b x) \sec (a+b x)}{16 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4288
Rule 3768
Rule 3770
Rubi steps
\begin{align*} \int \csc ^3(2 a+2 b x) \sin ^3(a+b x) \, dx &=\frac{1}{8} \int \sec ^3(a+b x) \, dx\\ &=\frac{\sec (a+b x) \tan (a+b x)}{16 b}+\frac{1}{16} \int \sec (a+b x) \, dx\\ &=\frac{\tanh ^{-1}(\sin (a+b x))}{16 b}+\frac{\sec (a+b x) \tan (a+b x)}{16 b}\\ \end{align*}
Mathematica [A] time = 0.0107836, size = 38, normalized size = 1.12 \[ \frac{1}{8} \left (\frac{\tanh ^{-1}(\sin (a+b x))}{2 b}+\frac{\tan (a+b x) \sec (a+b x)}{2 b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.066, size = 38, normalized size = 1.1 \begin{align*}{\frac{\sec \left ( bx+a \right ) \tan \left ( bx+a \right ) }{16\,b}}+{\frac{\ln \left ( \sec \left ( bx+a \right ) +\tan \left ( bx+a \right ) \right ) }{16\,b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.72041, size = 648, normalized size = 19.06 \begin{align*} \frac{4 \,{\left (\sin \left (3 \, b x + 3 \, a\right ) - \sin \left (b x + a\right )\right )} \cos \left (4 \, b x + 4 \, a\right ) -{\left (2 \,{\left (2 \, \cos \left (2 \, b x + 2 \, a\right ) + 1\right )} \cos \left (4 \, b x + 4 \, a\right ) + \cos \left (4 \, b x + 4 \, a\right )^{2} + 4 \, \cos \left (2 \, b x + 2 \, a\right )^{2} + \sin \left (4 \, b x + 4 \, a\right )^{2} + 4 \, \sin \left (4 \, b x + 4 \, a\right ) \sin \left (2 \, b x + 2 \, a\right ) + 4 \, \sin \left (2 \, b x + 2 \, a\right )^{2} + 4 \, \cos \left (2 \, b x + 2 \, a\right ) + 1\right )} \log \left (\frac{\cos \left (b x + 2 \, a\right )^{2} + \cos \left (a\right )^{2} - 2 \, \cos \left (a\right ) \sin \left (b x + 2 \, a\right ) + \sin \left (b x + 2 \, a\right )^{2} + 2 \, \cos \left (b x + 2 \, a\right ) \sin \left (a\right ) + \sin \left (a\right )^{2}}{\cos \left (b x + 2 \, a\right )^{2} + \cos \left (a\right )^{2} + 2 \, \cos \left (a\right ) \sin \left (b x + 2 \, a\right ) + \sin \left (b x + 2 \, a\right )^{2} - 2 \, \cos \left (b x + 2 \, a\right ) \sin \left (a\right ) + \sin \left (a\right )^{2}}\right ) - 4 \,{\left (\cos \left (3 \, b x + 3 \, a\right ) - \cos \left (b x + a\right )\right )} \sin \left (4 \, b x + 4 \, a\right ) + 4 \,{\left (2 \, \cos \left (2 \, b x + 2 \, a\right ) + 1\right )} \sin \left (3 \, b x + 3 \, a\right ) - 8 \, \cos \left (3 \, b x + 3 \, a\right ) \sin \left (2 \, b x + 2 \, a\right ) + 8 \, \cos \left (b x + a\right ) \sin \left (2 \, b x + 2 \, a\right ) - 8 \, \cos \left (2 \, b x + 2 \, a\right ) \sin \left (b x + a\right ) - 4 \, \sin \left (b x + a\right )}{32 \,{\left (b \cos \left (4 \, b x + 4 \, a\right )^{2} + 4 \, b \cos \left (2 \, b x + 2 \, a\right )^{2} + b \sin \left (4 \, b x + 4 \, a\right )^{2} + 4 \, b \sin \left (4 \, b x + 4 \, a\right ) \sin \left (2 \, b x + 2 \, a\right ) + 4 \, b \sin \left (2 \, b x + 2 \, a\right )^{2} + 2 \,{\left (2 \, b \cos \left (2 \, b x + 2 \, a\right ) + b\right )} \cos \left (4 \, b x + 4 \, a\right ) + 4 \, b \cos \left (2 \, b x + 2 \, a\right ) + b\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.492381, size = 163, normalized size = 4.79 \begin{align*} \frac{\cos \left (b x + a\right )^{2} \log \left (\sin \left (b x + a\right ) + 1\right ) - \cos \left (b x + a\right )^{2} \log \left (-\sin \left (b x + a\right ) + 1\right ) + 2 \, \sin \left (b x + a\right )}{32 \, b \cos \left (b x + a\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.18763, size = 1500, normalized size = 44.12 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]